package com.cnswhy.cloud.server.core.dto;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.cnswhy.cloud.common.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 
 * </p>
 *
 * @author cnswhy
 * @since 2020-10-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "SpellInfoPageDTO", description = "")
public class SpellInfoPageDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "")
    @NotNull(message = "不能为空")
    private Long priceId;
    @ApiModelProperty(value = "")
    @Length(max = 100, message = "长度不能超过100")
    private String priceTitle;
    /**
     * 批次号
     */
    @ApiModelProperty(value = "批次号")
    @Length(max = 50, message = "批次号长度不能超过50")
    private String orderNum;
    /**
     * 1待成团2拼团成功3拼团失败
     */
    @ApiModelProperty(value = "1待成团2拼团成功3拼团失败")
    private Integer status;
    @ApiModelProperty(value = "")
    private Long failureCount;
    @ApiModelProperty(value = "")
    private Long successCount;
    /**
     * 奖励拼团值
     */
    @ApiModelProperty(value = "奖励拼团值")
    private Long spellValue;
    /**
     * 爱心值奖励
     */
    @ApiModelProperty(value = "爱心值奖励")
    private Long loveVlue;
    /**
     * 贡献值
     */
    @ApiModelProperty(value = "贡献值")
    private Long contributionValue;
    /**
     * 分享
     */
    @ApiModelProperty(value = "分享")
    private Long shareValue;
    /**
     * 结算日期
     */
    @ApiModelProperty(value = "结算日期")
    @Length(max = 20, message = "结算日期长度不能超过20")
    private String settDate;

}
